﻿#include "BracketNode.h"

#include "Output/Console.h"

void CBracketNode::DebugPrint(int32_t InDepth)
{
    //print depth
    for (int32_t i = 0; i < InDepth; i++)
    {
        WH::Print(U"\t");
    }

    //print left bracket
    WH::Print(U"[");

    //print content
    if(Expression)
    {
        Expression->DebugPrint(InDepth);
    }

    //print right bracket
    WH::Print(U"]");

}